package com.dzl.constant;

/**
 * 兑换券相关的枚举对象
 * @author liuguanjun
 * @since 2022-02-25 11:52:43
 */
public enum WelfareExchangeEnum {

    //兑换券密激活状态： 0: 未激活，1：激活，2：已冻结  3：已绑定 4：已使用
    EXCHANGE_SECRET_ACTIVE_STATUS_NOT_ACTIVE(0, "未激活"),
    EXCHANGE_SECRET_ACTIVE_STATUS_ACTIVATED(1, "激活"),
    EXCHANGE_SECRET_ACTIVE_STATUS_FROZEN(2, "已冻结"),
    EXCHANGE_SECRET_ACTIVE_STATUS_BOUND(3, "已绑定"),
    EXCHANGE_SECRET_ACTIVE_STATUS_USED(4, "已使用");

    private Integer code;
    private String name;

    WelfareExchangeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}